package com.wwy.hkapi.HKApi.init;

import com.wwy.hkapi.HKApi.HCNetSDK;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 海康sdk初始化
 * @Author: wwy
 * @Date: 2020/8/4 10:13
 */
public class HkInit {
    private static final Logger LOGGER = LoggerFactory.getLogger(HkInit.class);
    public static HCNetSDK hCNetSDK = HCNetSDK.INSTANCE;
    /**
     * 初始化方法
     */
    public static void init(){
        boolean initBool = hCNetSDK.NET_DVR_Init();
        if(initBool){
            LOGGER.info("海康sdk初始化成功");
        }else{
            LOGGER.info("海康sdk初始化失败");
        }
    }
}
